import {Injectable} from '@angular/core';
import {LoggerService} from './logger.service';
import {log} from "util";

@Injectable()
export class ProductService {

  constructor(private Log: LoggerService) {
  }

  getProduct(): Product {
    this.Log.debug('1111');
    return new Product('1', 'ben', 12, 'benDesc');
  }

}

export class Product {
  constructor(public id: string, public name: string, public price: number, public desc: string) {
  }

}
